/*
 * UnitMoveFailedEvent.h
 *
 *  Created on: Oct 14, 2008
 *      Author: Ryan
 */

#ifndef UNITMOVEFAILEDEVENT_H_
#define UNITMOVEFAILEDEVENT_H_

#include "GameEvent.h"
#include "../Units/Unit.h"

namespace OOInterface
{

class UnitMoveFailedEvent: public OOInterface::GameEvent
{
public:
	UnitMoveFailedEvent( ConstUnitPtr unit ) : _unit( unit ) {}
	virtual ~UnitMoveFailedEvent() { }

	ConstUnitPtr getUnit() const { return _unit; }

	virtual std::string toString() const{ return std::string("Event: Unit Move Failed."); }

private:
	ConstUnitPtr _unit;
};

}

#endif /* UNITMOVEFAILEDEVENT_H_ */
